
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../../../global/css/aui.css" />
    <link rel="stylesheet" type="text/css" href="./win.css" />
</head>

<body>
    <header class="aui-bar aui-bar-nav" id="aui-header">
        <a class="aui-btn aui-pull-left" tapmode onclick="views.closeWin();">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title" tapmode onclick="frmToTop();"></div>
        <a class="aui-btn aui-pull-right" tapmode onclick="trySelectAvatar();">
            <span class="aui-iconfont aui-icon-more"></span>
        </a>
    </header>

    <div id="avatar-frame" tapmode onclick="trySelectAvatar();"></div>

    <footer class="aui-bar aui-bar-tab aui-border-t aui-hide" id="footer">
        <div class="aui-bar-tab-item" tapmode onclick="onCancel();">
            <span>取消</span>
        </div>
        <div class="aui-bar-tab-item" tapmode onclick="onCropDone();">
            <span>完成</span>
        </div>
    </footer>
</body>

<script id="tpl-avatar" type="text/x-dot-template">
    <img src="../../../global/image/ph-dark.png" data-type="avatar" data-src="{{=avatarUrlById(it.uid, 'middle')}}"/>
</script>

<script type="text/javascript" src="../../../config.js"></script>
<script type="text/javascript" src="../../../global/script/lib/api.js"></script>
<script type="text/javascript" src="../../../global/script/lib/aui-lazyload.js"></script>
<script type="text/javascript" src="../../../global/script/lib/doT.min.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myPic.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myCompact.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myMediaScanner.js"></script>
<script type="text/javascript" src="../../../global/script/libx/myAvatarUper.js"></script>
<script type="text/javascript" src="../../../global/script/mylib.js"></script>
<script type="text/javascript" src="../../../app.js"></script>
<script type="text/javascript" src="./win.js"></script>

</html>


<script type="text/javascript" src="../../../global/script/_fakeApi.js"></script>

<script type="text/javascript">
	fooAvatar();
</script>
